package org.example.route.model.vo;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "车厢信息VO")
public class CarriageVO {

    @Schema(description = "车厢id")
    private Long id;
    @Schema(description = "列车id")
    private Long trainId;
    @Schema(description = "车厢号")
    private Long carriageNumber;
    @Schema(description = "容量")
    private Long volume;
    @Schema(description = "剩余容量")
    private Long lastVolume;


}
